import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '子项目',
    align: "center", resizable: true,
    dataIndex: 'subProjectId'
  },
  {
    title: '旧状态',
    align: "center", resizable: true,
    dataIndex: 'oldStatus'
  },
  {
    title: '新状态',
    align: "center", resizable: true,
    dataIndex: 'newStatus'
  },
  {
    title: '变更时间',
    align: "center", resizable: true,
    dataIndex: 'changeTime'
  },
  {
    title: '变更人',
    align: "center", resizable: true,
    dataIndex: 'changedBy'
  },
  {
    title: '关联文件记录ID',
    align: "center", resizable: true,
    dataIndex: 'fileRecordId'
  },
];

// 高级查询数据
export const superQuerySchema = {
  subProjectId: {title: '子项目',order: 0,view: 'text', type: 'string',},
  oldStatus: {title: '旧状态',order: 1,view: 'text', type: 'string',},
  newStatus: {title: '新状态',order: 2,view: 'text', type: 'string',},
  changeTime: {title: '变更时间',order: 3,view: 'datetime', type: 'string',},
  changedBy: {title: '变更人',order: 4,view: 'text', type: 'string',},
  fileRecordId: {title: '关联文件记录ID',order: 5,view: 'text', type: 'string',},
};
